package gulimall.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 *
 * @author HLF
 * @date 2022/8/22 16:07
 */
@Controller
public class IndexController {

    @GetMapping("/{page}.html")
    public String toPage(@PathVariable String page) {
        return page;
    }
}
